﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddEditVideo.ascx.cs" Inherits="Web.Cms.Video.AddEditVideo" %>
<%@ Register TagPrefix="cc1" Namespace="AWS.FilePicker" Assembly="FilePickerControl" %>
<%@ Register TagPrefix="radCln" Namespace="Telerik.WebControls" Assembly="RadCalendar.Net2" %>
<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>

 
<div class="question" runat="server" id="divQuestion">
    <div class="cl"><asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="true" ForeColor="red" 
                Font-Size="12px"></asp:Label></div> 
    <p class="heading">Thông tin video</p>                             
    <div class="rows">
        <div class="fl width100" style="padding-top:5px;"><b>Tiêu đề video:</b></div>
        <div class="fl"><asp:TextBox ID="txtTitle" runat="server" CssClass="textbox-title" Height="25"></asp:TextBox></div>                        
    </div>     
    <div class="cl5"></div>
        <div class="rows">
        <div class="fl width100" style="padding-top:5px;"> <b>Ảnh đại diện</b></div>
        <div class="fl"> 
            <asp:Image ID="ImgAvatar" runat="server" Height="100px" Width="88px" 
                ImageUrl="~/App_Themes/Default/Images/noDefaultImage.gif" />
        </div>                        
    </div>
    <div class="cl5"></div>
    <div class="rows">
        <div class="fl width100" style="padding-top:5px;"> <b>Đường dẫn ảnh</b></div>
        <div class="fl"> 
                 
            <strong>
             <cc1:FilePicker ID="txtAvatar" runat="server" fpPopupURL="/FilePicker/FilePicker.aspx"
                 Width="175px" fpAllowedUploadFileExts="bmp,jpg,gif" fpUploadDir="/Uploads/videoClip/"></cc1:FilePicker></strong> (100px x 100px)
         </div>                        
    </div>
    <div class="cl5"></div>
    <div class="rows">
        <div class="fl width100" style="padding-top:5px;"> <b>Đường dẫn video</b></div>
        <div class="fl"> 
                 
      <strong>
             <cc1:FilePicker ID="txtUrlVideo" runat="server" fpPopupURL="/FilePicker/FilePicker.aspx"
                Width="175px" fpAllowedUploadFileExts="flv" fpUploadSizeLimit="11000000000" fpUploadDir="/Uploads/videoClip/"></cc1:FilePicker></strong>hệ thống cho up file FLV
                </div>                        
        </div>                        
    </div>
    <div class="cl5"></div>
    <div class="rows">
        <div class="fl width100" style="padding-top:5px;"><b>Thuộc chuyên mục</b></div>
        <div class="fl"> 
            <asp:DropDownList ID="dropZoneId" runat="server" CssClass="textbox-title" Height="20" Width="180">
            </asp:DropDownList>
        </div>                        
    </div>
    <div class="cl5"></div>
    <div class="rows">
        <div class="fl width100" style="padding-top:5px;"> <b>Ngày tạo</b></div>
        <div class="fl"> 
             <radCln:RadDateTimePicker ID="txtCreateOn" runat="server" Height="25"></radCln:RadDateTimePicker>    
        </div>                        
    </div>
    <div class="cl5"></div>
    <div class="rows">
        <div class="fl width100" style="padding-top:5px;"> <b>Kiểu video</b></div>
        <div class="fl"> 
           <asp:CheckBox ID="chTinNoiBat" runat="server" Text="Video nổi bật"/>                            
            <asp:CheckBox ID="chTinMoiNhat" runat="server" Text="Video mới nhất" Checked="true" />&nbsp;
            &nbsp;<asp:CheckBox ID="chTinTieuDiem" runat="server" Text="Video điểm" />  
               
        </div>                        
    </div>
    <div class="cl5"></div>
    <div class="rows">
        <div class="fl width100" style="padding-top:5px;"> <b>Mô tả nội dung</b></div>
        <div class="fl">
          <CE:Editor AutoConfigure="Minimal" runat="server" ID="txtTeaser"></CE:Editor>
        </div>                        
    </div>
    <div class="cl5">
    </div>
    <div class="rows">
        <div class="fl width100" style="padding-top:5px;"> <b>Chi tiết nội dung</b></div>
        <div class="fl"> 
          <CE:Editor AutoConfigure="Full_noform" runat="server" ID="txtBody"></CE:Editor>
        </div>                        
    </div>
    <div class="cl5"></div>
    <div class="fl" style="padding-left:100px;">
        <asp:LinkButton ID="btnAddVideo" runat="server" CssClass="admin-btn-add" onclick="btnAddVideo_Click" 
                 />  
            <asp:LinkButton ID="btnUpdateVideo" runat="server" 
            CssClass="admin-btn-edit" onclick="btnUpdateVideo_Click"/>   
                  <asp:LinkButton ID="btnCanelVideo" runat="server" 
            CssClass="admin-btn-exit" onclick="btnCanelVideo_Click"/>     
            <a href="/cms/Default.aspx?ctrlkey=AddEditVideo" class="admin-btn-back" runat="server" id="alinkBack" visible="false"></a>
    </div>

<%--end nội dung video--%>
<div class="cl5"></div>
<div class="cl5"></div>
<hr style="width:100%; color:#c0c0c0; height:1px;" />
<div class="cl"></div>

